package top.hidoctor.auscultation.bean;

import java.util.List;

import lombok.Data;
import lombok.NoArgsConstructor;

@NoArgsConstructor
@Data
public class DictionaryBean {

    /**
     * page : 1
     * pageSize : 20
     * result : [{"displayOrder":1,"groupCode":"SAMPLE_COORDINATE","id":"10673659014283264","isDeleted":1,"parentId":"0","title":"配合","type":0},{"displayOrder":1,"groupCode":"SAMPLE_COORDINATE","id":"10673659152695296","isDeleted":1,"parentId":"0","title":"欠配合","type":0}]
     * totalItems : 2
     * totalPages : 1
     */

    private Integer page;
    private Integer pageSize;
    private Integer totalItems;
    private Integer totalPages;
    private List<ResultBean> result;

    @NoArgsConstructor
    @Data
    public static class ResultBean {
        /**
         * displayOrder : 1
         * groupCode : SAMPLE_COORDINATE
         * id : 10673659014283264
         * isDeleted : 1
         * parentId : 0
         * title : 配合
         * type : 0
         */

        private Integer displayOrder;
        private String groupCode;
        private String id;
        private Integer isDeleted;
        private String parentId;
        private String title;
        private Integer type;
        private boolean check;
    }
}
